package com.deer.backup;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * 启动类
 * @author deer
 * @date 2023-06-14 15:29:16
 */
@SpringBootApplication
public class BackupApplication {

	public static ConfigurableApplicationContext context;

	public static void main(String[] args) {
		context = new SpringApplicationBuilder(BackupApplication.class).headless(false).run(args);
		// 启动窗体程序
		new Thread(() -> {
			JavaFxAppStart.main(args);
		}).start();
		// new Thread(()->{
		// JavaFxTray.main(args);
		// }).start();
	}

}
